package tt.dz.appserver.service.avro.test;

import org.apache.avro.AvroRemoteException;
import org.apache.avro.Protocol;
import org.apache.avro.specific.AvroGenerated;

import tt.dz.appserver.util.resource.ResourceUtils;

@AvroGenerated
public interface MessageProtocol {

	public static final Protocol PROTOCOL = Protocol.parse(ResourceUtils.getRootResource("avro/app/appServer.json"));

	Message sendMessage(Message message) throws AvroRemoteException;

	Message test(Message msg,int code,CharSequence data) throws AvroRemoteException;

}